#pragma once
#include "ICadCommand.h"
#include "DrawHighwayCmd.h"

class CommandFactory
{
public:

	ICadCommand* CreateCommand(CString commandName)
	{
		if (commandName.CompareNoCase(_T("DrawHighway")) == 0)
		{
			return new DrawHighwayCmd();
		}

		return nullptr;
	}
};